package com.ideaaedi.zoo.example.springboot.bpmn.flowable.controller.demo4.entity.enums;

import com.ideaaedi.zoo.commonbase.enums.EnumDescriptor;

/**
 * 请假类型
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img
 * src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 1.0.0
 */
public enum LeaveType implements EnumDescriptor {
    ANNUAL("年假"),
    ABSENCE("事假");
    
    /**
     * 描述
     */
    private final String desc;
    
    LeaveType(String desc) {
        this.desc = desc;
    }
    
    @Override
    public String obtainDescription() {
        return this.desc;
    }
}
